package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsCardDao;
import com.appkubes.mall.core.entity.MallGoodsCard;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsCardService extends AbstractBaseService<BaseMallGoodsCardDao, MallGoodsCard> {

    MallGoodsCard getOneByEntity(MallGoodsCard entity);

    List<MallGoodsCard> selectListByEntity(MallGoodsCard entity);

    IPage<MallGoodsCard> selectPageByEntity(IPage<MallGoodsCard> page);
    IPage<MallGoodsCard> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsCard> selectPageByEntity(MallGoodsCard entity, IPage<MallGoodsCard> page);
    IPage<MallGoodsCard> selectPageByEntity(MallGoodsCard entity, PageVO pageVO);

    IPage<MallGoodsCard> selectPageByEntity(MallGoodsCard entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsCard entity);
}
